package com.rfid.mqtt.bean;

public class StatusRespon {

    /**
     * data : {"chargeFlag":1,"workFlag":1,"emergencyStop":0,"robotCode":"PATROLCPAT-CM-B33XXXPAT13S2320000004","alarmingNum":0,"battery":100,"onlineFlag":1,"alarmFlag":0}
     * cmd : 90007
     */

    private DataBean data;
    private int cmd;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public int getCmd() {
        return cmd;
    }

    public void setCmd(int cmd) {
        this.cmd = cmd;
    }

    public static class DataBean {
        /**
         * chargeFlag : 1
         * workFlag : 1
         * emergencyStop : 0
         * robotCode : PATROLCPAT-CM-B33XXXPAT13S2320000004
         * alarmingNum : 0
         * battery : 100
         * onlineFlag : 1
         * alarmFlag : 0
         */

        private int chargeFlag;
        private int workFlag;
        private int emergencyStop;
        private String robotCode;
        private int alarmingNum;
        private int battery;
        private int onlineFlag;
        private int alarmFlag;

        public int getChargeFlag() {
            return chargeFlag;
        }

        public void setChargeFlag(int chargeFlag) {
            this.chargeFlag = chargeFlag;
        }

        public int getWorkFlag() {
            return workFlag;
        }

        public void setWorkFlag(int workFlag) {
            this.workFlag = workFlag;
        }

        public int getEmergencyStop() {
            return emergencyStop;
        }

        public void setEmergencyStop(int emergencyStop) {
            this.emergencyStop = emergencyStop;
        }

        public String getRobotCode() {
            return robotCode;
        }

        public void setRobotCode(String robotCode) {
            this.robotCode = robotCode;
        }

        public int getAlarmingNum() {
            return alarmingNum;
        }

        public void setAlarmingNum(int alarmingNum) {
            this.alarmingNum = alarmingNum;
        }

        public int getBattery() {
            return battery;
        }

        public void setBattery(int battery) {
            this.battery = battery;
        }

        public int getOnlineFlag() {
            return onlineFlag;
        }

        public void setOnlineFlag(int onlineFlag) {
            this.onlineFlag = onlineFlag;
        }

        public int getAlarmFlag() {
            return alarmFlag;
        }

        public void setAlarmFlag(int alarmFlag) {
            this.alarmFlag = alarmFlag;
        }
    }
}
